//
//  MyListModel.h
//  DA_V
//
//  Created by 中亿世联前台 on 15/5/16.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol MyListModelDelegate<NSObject>

@optional
- (void)getCuCunlistYiFuKuanEnd;              //获取库存订单已付款数据结束
- (void)getUserlistEnd;                       //获取客户订单数据结束
- (void)getXiaXianlistEnd;                    //获取下线订单数据结束

- (void)requestError;                         //网络异常代理方法

- (void)getrequesterror:(NSString *)error;//请求服务器繁华的错误信息代理
@end

@interface MyListModel : NSObject
@property (nonatomic,copy) NSString *MasterOrderID;           //订单编号
@property (nonatomic,copy) NSString *FatherAgent;             //上级微商名称
@property (nonatomic,copy) NSString *ThumbPath;               //产品缩略图地址
@property (nonatomic,copy) NSString *ProductID;               //产品ID
@property (nonatomic,copy) NSString *ProductName;             //产品名称
@property (nonatomic,copy) NSString *DiscountAmount;          //折扣价
@property (nonatomic,copy) NSString *TotalAmount;             //总金额
@property (nonatomic,copy) NSString *BuyAmount;               //订购数量
@property (nonatomic,copy) NSString *AddTime;                 //下单时间
@property (nonatomic,copy) NSString *MasterOrderStatus;       //订单状态
@property (nonatomic,copy) NSString *DiscountPriceAmount;     //折扣单价
@property (nonatomic,copy) NSString *Number;                  //数量



//以下属性主要是客户订单要用到属性
@property (nonatomic,copy) NSString *CustomerName;            //订货人姓名
@property (nonatomic,copy) NSString *PhoneNumber;             //订货人电话
@property (nonatomic,copy) NSString *AddressDetail;           //地址（详细地址）
@property (nonatomic,copy) NSString *ExpressCompany;          //物流公司
@property (nonatomic,copy) NSString *ExpressNumber;           //物流单号


//以下是下线客户订单属性
@property (nonatomic,copy) NSString *IsMakeup;                //是否产生了自动补货订单
@property (nonatomic,copy) NSString *Profit;                  //利润

@property (nonatomic,weak) id<MyListModelDelegate> myListModelDelegate;
- (void)getCarList:(NSMutableArray *)array parameter:(NSDictionary *)parameter;
- (void)getaddCarList:(NSMutableArray *)array parameter:(NSDictionary *)parameter;
- (void)getUserList:(NSMutableArray *)array parameter:(NSDictionary *)parameter interface:(NSString *)interface;
- (void)getaddUserList:(NSMutableArray *)array parameter:(NSDictionary *)parameter interface:(NSString *)interface;
@end
